package fun.tan90.easy.binlog.manager.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 实例线程池指标历史信息 实体类。
 *
 * @author 陈浩杰
 * @since 2023-10-31
 */
@Data
public class MetricThreadLineChartVo {

    private Integer timedWaiting;

    private Integer newable;

    private Integer runnable;

    private Integer blocked;

    private Integer waiting;

    private Integer terminated;

    private Integer live;

    private Integer daemon;

    private Integer peak;

    /**
     * 生成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date time;
}
